package com.ruoyi.project.system.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 问题选项实体（无Lombok，纯手写）
 */
public class QuestionAnswer extends BaseEntity {
    private Long id;             // 选项ID
    private Long questionId;     // 关联问题ID（对应问题表id）
    private String answer;       // 选项文本
    private Integer sort;        // 显示顺序

    // 手写getter/setter方法
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}